package chaoyue.study.feature.record;

/**
 * Record类也可以用来实现接口
 * @param name
 */
public record RecordTest5(String name) implements TestInterface {
    @Override
    public void doSome() {
        System.out.println(this.name + " doSome()...");
    }
}
